package com.bsoft.gol.hcs.clinical.dao;

import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;
import com.bsoft.gol.hcs.clinical.entity.OdsPrescriptionApplyDrug;

import java.util.List;

public abstract class OdsPrescriptionApplyDrugDAO extends HibernateSupportDelegateDAO<OdsPrescriptionApplyDrug> {



    @DAOMethod(sql = " from OdsPrescriptionApplyDrug where prescriptionApplyId =:prescriptionApplyId ")
    public abstract List<OdsPrescriptionApplyDrug> queryOdsPrescriptionApplyDrug(
            @DAOParam("prescriptionApplyId")String prescriptionApplyId);
}
